;
(function () {
    System.register(['./index-legacy-BBSVeb5I.js'], function (exports, module) {
        'use strict';

        var defineComponent, mergeModels, useModel, createElementBlock, normalizeClass, createCommentVNode,
            withDirectives, createBaseVNode, toDisplayString, renderSlot, vModelSelect, openBlock, REQUEST;
        return {
            setters: [function (module) {
                defineComponent = module.d;
                mergeModels = module.J;
                useModel = module.m;
                createElementBlock = module.a;
                normalizeClass = module.n;
                createCommentVNode = module.k;
                withDirectives = module.L;
                createBaseVNode = module.b;
                toDisplayString = module.t;
                renderSlot = module.I;
                vModelSelect = module.ah;
                openBlock = module.o;
                REQUEST = module.a0;
            }],
            execute: function execute() {
                exports({
                    a: getExecutorList,
                    b: getExecutorProgramList,
                    c: createExecutorJar,
                    d: createExecutorProgram,
                    e: deleteExecutorProgram,
                    g: getAllExecutorProgramList
                });
                var _hoisted_1 = {
                    key: 1,
                    class: "flex items-center pr-2 op50"
                };
                var _hoisted_2 = {
                    class: "flex items-center pl-2 op50"
                };
                var _sfc_main = exports("_", /* @__PURE__ */defineComponent({
                    __name: "SimpleSelect",
                    props: /* @__PURE__ */mergeModels({
                        placeholder: {
                            default: "请选择"
                        }
                    }, {
                        "modelValue": {},
                        "modelModifiers": {}
                    }),
                    emits: ["update:modelValue"],
                    setup: function setup(__props) {
                        var value = useModel(__props, "modelValue");
                        return function (_ctx, _cache) {
                            return openBlock(), createElementBlock("div", {
                                class: normalizeClass(["input-base", [_ctx.$slots.prefix ? "pl-2" : "pl-0", _ctx.$slots.suffix ? "pr-2" : "pr-3"]])
                            }, [_ctx.placeholder && !value.value ? (openBlock(), createElementBlock("div", {
                                key: 0,
                                class: normalizeClass(["absolute bottom-0 left-0 right-0 top-0 z-0 flex items-center text-gray-400", [_ctx.$slots.prefix ? "pl-8" : "pl-3", _ctx.$slots.suffix ? "pr-8" : "pr-3"]])
                            }, toDisplayString(_ctx.placeholder), 3)) : createCommentVNode("", true), _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "prefix")])) : createCommentVNode("", true), withDirectives(createBaseVNode("select", {
                                "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
                                    return value.value = $event;
                                }),
                                class: "z-1 h-full w-full appearance-none bg-transparent px-2 outline-none focus:outline-none"
                            }, [renderSlot(_ctx.$slots, "default")], 512), [[vModelSelect, value.value]]), createBaseVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "suffix", {}, function () {
                                return [_cache[1] || (_cache[1] = createBaseVNode("div", {
                                    class: "i-carbon-chevron-down pointer-events-none absolute right-2"
                                }, null, -1))];
                            })])], 2);
                        };
                    }
                }));

                function getExecutorList(params) {
                    return REQUEST.get("/executorJar/getExecutorList", params);
                }

                function createExecutorJar(data) {
                    return REQUEST.post("/executorJar/createExecutorJar", data);
                }

                function getAllExecutorProgramList(params) {
                    return REQUEST.get("/executorJar/getAllExecutorProgram", params);
                }

                function getExecutorProgramList(params) {
                    return REQUEST.get("/executorJar/getExecutorProgramList", params);
                }

                function createExecutorProgram(data) {
                    return REQUEST.post("/executorJar/createExecutorProgram", data);
                }

                function deleteExecutorProgram(programId) {
                    return REQUEST.post("/executorJar/deleteExecutorProgram/".concat(programId));
                }
            }
        };
    });
})();
